<?php

/**
 * Generated Model class.
 */
class Photo2galleryCriteria extends Criteria
{

    private $id = null;

    private $photo_id = null;

    private $gallery_id = null;

    /**
     * Set new value for photo2gallery.id column in current Row.
     * 
     * @param int $IdFromPhoto2galleryCriteria
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return photo2gallery.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for photo2gallery.photo_id column in current Row.
     * 
     * @param int $PhotoIdFromPhoto2galleryCriteria
     * @return void
     */
    public function setPhotoId($PhotoId)
    {
        $this->__set("photo_id", $PhotoId);
    }

    /**
     * Return photo2gallery.photo_id column value in current Row.
     * 
     * @return int
     */
    public function getPhotoId()
    {
        return $this->__get("photo_id");
    }

    /**
     * Set new value for photo2gallery.gallery_id column in current Row.
     * 
     * @param int $GalleryIdFromPhoto2galleryCriteria
     * @return void
     */
    public function setGalleryId($GalleryId)
    {
        $this->__set("gallery_id", $GalleryId);
    }

    /**
     * Return photo2gallery.gallery_id column value in current Row.
     * 
     * @return int
     */
    public function getGalleryId()
    {
        return $this->__get("gallery_id");
    }


}

